<!DOCTYPE html>
<html class="x-admin-sm">

<head>
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.2</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="stylesheet" href="/X-admin-master/css/font.css">
    <link rel="stylesheet" href="/X-admin-master/css/xadmin.css">
    <script src="../../js/jquery.min.js"></script>
    <script src="/X-admin-master/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="/X-admin-master/js/xadmin.js"></script>
    <script src="../../js/x-clothing_type-list.js"></script>
    <script src="../../js/x-product-edit.js"></script>
</head>
<body>
<div class="layui-fluid">
    <div class="layui-row">
        <!--        enctype="multipart/form-data"-->
        <form class="layui-form">
            <div class="layui-form-item">
                <label for="id" class="layui-form-label">
                    <span class="x-red">*</span>ID
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="id" name="id" required="" lay-verify="required" readonly="readonly"
                           autocomplete="off" class="layui-input">
                </div>

            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>菜系选择</label>
                <div class="layui-input-inline">
                    <select name="clothingType" lay-filter="clothingType" id="clothingType">
                        <option value="" ></option>
                        <option value="川菜">川菜</option>
                    </select>
                </div>
                <div class="layui-form-mid layui-word-aux">
                    <span class="x-red">*</span>
                </div>
            </div>
            <div class="layui-form-item">
                <label for="name" class="layui-form-label">
                    <span class="x-red">*</span>产品名称</label>
                <div class="layui-input-inline">
                    <input type="text" id="name" name="name" required="" lay-verify="name"
                           autocomplete="off" class="layui-input"></div>
                <div class="layui-form-mid layui-word-aux">
                    <span class="x-red">*</span>
                </div>
            </div>
            <div class="layui-form-item">
                <label for="normalPrice" class="layui-form-label">
                    <span class="x-red">*</span>正常价格</label>
                <div class="layui-input-inline">
                    <input type="text" id="normalPrice" name="normalPrice" required="" lay-verify="normalPrice"
                           autocomplete="off"
                           class="layui-input"></div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>是否展示</label>
                <div class="layui-input-inline">
                    <input type="radio" name="isShow" value="1" title="是" checked="">
                    <input type="radio" name="isShow" value="0" title="否">
                </div>
                <div class="layui-form-mid layui-word-aux"></div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>是否推荐</label>
                <div class="layui-input-inline">
                    <input type="radio" name="isRecommend" value="1" title="是" checked="">
                    <input type="radio" name="isRecommend" value="0" title="否">
                </div>
                <div class="layui-form-mid layui-word-aux"></div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>图片展示</label>
                <div class="layui-input-inline">
                    <button type="button" class="layui-btn" id="test1">上传图片</button>
                    <div class="layui-upload-list">
                        <img class="layui-upload-img" src="/img/9_8hh4.jpg" width="100" height="100" id="demo1">
                        <p id="demoText"></p>
                    </div>

                </div>
                <div class="layui-form-mid layui-word-aux"></div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>产品描述</label>
                <div class="layui-input-inline" style="width: 500px">
                    <textarea name="content" id="content" style="display: none;"></textarea>
                </div>
                <div class="layui-form-mid layui-word-aux"></div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"></label>
                <button class="layui-btn" lay-filter="edit" lay-submit="">修改</button>
            </div>
        </form>
    </div>
</div>

</body>

</html>